package com.zonhar.autofeed.common.enums;

/**
 * 投粮类型
 * @author zonhar
 */
public enum FeedTypeEnum {

    /**
     * 自动投放
     */
    AUTO_FEED(1,"自动投放"),

    /**
     * 手动投放
     */
    SD_FEED(2,"手动"),

    /**
     * 测重
     */
    TEST_WEIGHT(3,"测重");

    private Integer code;
    private String desc;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    FeedTypeEnum(Integer code, String desc){
        this.code = code;
        this.desc = desc;
    }
}
